<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>诗经雅韵</title>
	<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <div class="container">
        <div class="header-decoration"></div>
        <header>
            <h1>诗经雅韵</h1>
            <div class="subtitle">诗经中英双语赏析（英文翻译：许渊冲）</div>
            
            <div class="controls">
                <button id="pinyinToggle" class="btn">
                    <i class="fas fa-chinese-yuan"></i>
                    <span>关闭注音模式</span>
                </button>
            </div>
        </header>
        
        <div class="poem-info" id="poemInfo">
            请在左侧列表中选择诗篇开始赏析。
        </div>
        
        <div class="main-content">
            <div class="category-sidebar">
                <h3 class="category-title">诗篇列表</h3>
                <ul class="category-list" id="categoryList">
                    <!-- 分类将通过JavaScript填充 -->
                </ul>
            </div>
            
            <div class="content-container">
                <div class="poem-intro" id="poemIntro">
                    <h3 class="intro-title">《诗经》简介</h3>
                    <div class="intro-content">
                        <p>《诗经》是中国第一部诗歌总集，收录了自西周初年至春秋中叶的诗歌 305 篇，分为风、雅、颂三部分。</p>
                        <p>风：也称为国风，是采集自各地的民间歌谣；雅：周王畿内乐调，多为贵族宴饮乐歌；颂：用于宗庙祭祀的乐歌。</p>
                    </div>
                </div>
                
                <div class="poem-panels">
                    <div class="chinese-panel">
                        <div class="panel-header">
                            <h2 class="panel-title">诗经原文</h2>
                        </div>
                        <div id="chineseContent" class="poem-content chinese-content">
                            <div class="welcome-message">
                                <p>《诗经》是中国文学的光辉起点，内容丰富多彩，反映了周初至春秋中叶的社会风貌。</p>
                                <p style="margin-top: 20px; font-size: 1.5rem;">请在左侧列表中选择诗篇开始赏析。</p>
                            </div>
                        </div>
                    </div>
                    
                    <div class="english-panel">
                        <div class="panel-header">
                            <h2 class="panel-title">English Translation</h2>
                            <div class="english-title" id="englishTitle"></div>
                        </div>
                        <div id="englishContent" class="poem-content english-content">
                            <div class="welcome-message">
                                <p>The Book of Songs is the earliest collection of Chinese poetry, containing 305 works from the early Western Zhou Dynasty to the mid-Spring and Autumn period.</p>
                                <p style="margin-top: 20px; font-size: 1.1rem;">Please select a poem from the list on the left to start your appreciation.</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 参考文献卡片 -->
        <div class="references-section">
            <button id="referencesToggle" class="btn references-btn">
                <i class="fas fa-book"></i>
                <span>参考文献</span>
            </button>
            <div class="references-card" id="referencesCard">
                <h3>参考文献</h3>
                <ul>
                    <li>骆玉明解注，【日】细井徇撰绘，诗经，西安：三秦出版社，2017.</li>
					<li>闫红著，许渊冲译，燕燕于飞：美得窒息的诗经：英汉对照，武汉：长江文艺出版社，2020.</li>
                </ul>
            </div>
        </div>
        
        <footer>
            <p>诗经雅韵 | 传承中华诗词之美</p>
            <p>© 2025 琴书文史轩</p>
        </footer>
    </div>
	
	<script src="https://unpkg.com/pinyin-pro@3.18.2/dist/index.js"></script>
    <script src="script.js"></script>
</body>
</html>